package design.factory.method;

import design.factory.abstrac.Computer;
import design.factory.simple.Phone;

/**
 * <p>
 *  abstract factory
 * </P>
 *
 * @author dingwen
 * @date 2021.10.22 14:14
 */
public interface AbstractFactory {
    /**
     * 生产手机
     *
     * @return {@link Phone}
     */
    Phone makePhone();

    /**
     * 生产 计算机
     *
     * @return {@link Computer}
     */
    Computer makeComputer();
}
